<?php

/**
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$conn=new ConnectBD();
$conn->connecterBD();
$conn->executer_requete("select * from societe");
        if($conn->nombre_ligne()>0){
            while ($data=$conn->get_objet()){
                echo '<li>'.$data->nomsociete.'</li>';
            }
        }
?>
